import React from 'react';
import { Button, Result } from 'antd';
import { Link } from 'react-router-dom';

const Forbidden: React.FC = () => (
  <Result
    status="403"
    title="403"
    subTitle="没有权限访问"
    extra={<Link to="/"><Button type="primary">返回首页</Button></Link>}
  />
);

export default Forbidden;